package org.cmg.study.spring.entity;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author CMG
 * @version 1.0
 * @cLassName entityFileDomain
 * @description
 * @date 2021/9/6 14:22
 **/
public class FileDomain {
    private String description;
    private MultipartFile file;

    public FileDomain() {
    }

    public FileDomain(String description, MultipartFile file) {
        this.description = description;
        this.file = file;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }

    @Override
    public String toString() {
        return "entityFileDomain{" +
                "description='" + description + '\'' +
                ", file=" + file +
                '}';
    }
}
